<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/themes/icon.css">
<LINK href="${pageContext.request.contextPath}/css/admin.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.js"></script>
</HEAD>
<BODY>
<form action="${pageContext.request.contextPath }/servlet/HtUserServlet?method=edit&id=${user.id}" method="post" >
<!--导航部分-->
<div id="u_daohang"><span class="textc1">当前位置：</span><span class="textc2">系统管理</span>&nbsp;&gt;&nbsp;普通用户管理&nbsp;&gt;&nbsp;编辑</div>
<!--导航部分-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="pub_table2" style="margin-top:10px; table-layout:fixed;">
  <tr>
    <th width="110">登录用户名：</th>
    <td width="140">
    	${user.username }
    </td>
    <th width="110">登录密码：</th>
    <td>
    	<input name="password" type="text" class="texta" style="width:120px;" onfocus="this.className='textb';" onblur="this.className='texta';" />
   		${message.error.password }
    </td>
  </tr>
  <tr>
    <th>姓名：</th>
    <td>
    	<input name="name" type="text" value="${user.name }" class="texta" style="width:120px;" onfocus="this.className='textb';" onblur="this.className='texta';" />
   		${message.error.name }
    </td>
    <th>年龄</th>
    <td>
    	<input name="age" type="text" value="${user.age }"class="texta" style="width:120px;" onfocus="this.className='textb';" onblur="this.className='texta';" />
    	${message.error.age }
    </td>
  </tr>
    <tr>
    <th>邮箱</th>
    <td>
    	<input name="mail" type="text" value="${user.mail }" class="texta" style="width:120px;" onfocus="this.className='textb';" onblur="this.className='texta';" />
    	${message.error.mail }
    </td>
    <th>电话</th>
    <td>
    	<input name="tel" type="text" value="${user.tel }"class="texta" style="width:120px;" onfocus="this.className='textb';" onblur="this.className='texta';" />
    	${message.error.tel }
    </td>
  </tr>
  
      <tr>
    <th>性别</th>
    <td>
    	
    	男<input name="sex" type="radio" value="1" checked="${user.sex== 1? checked : null }" />
   	 	女<input name="sex" type="radio" value="0" checked="${user.sex== 0? checked : null }"  />
   	${message.error.sex }
    </td>
    <th>地址</th>
    <td>
    	<input name="address" type="text" value="${user.address}"class="texta" style="width:120px;" onfocus="this.className='textb';" onblur="this.className='texta';" />
		${message.error.address }   
	</td>
  </tr>
        <tr>
    <th>邮编</th>
    <td>
    	<input name="zip" type="text" value="${user.zip }" class="texta" style="width:120px;" onfocus="this.className='textb';" onblur="this.className='texta';" />
    		${message.error.zip }
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td height="42" colspan="3"><input type="submit" value="保存" /></td>
  </tr>
</table>
</form>
</BODY>
</HTML>